package com.hfjyz.registration.model;

import java.io.Serializable;
import java.util.Date;

/**
 * The persistent class for the logging database table.
 * 
 */
public class Logging implements Serializable {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 5938969213742964634L;
	private Integer id;
	private String logtype;
	private String usertype;
	private String username;
	private Integer uid;
	private Date logtime;
	private String ip;
	private String remark;
	private String examName;

	public Logging() {

	}

	public Logging(String logtype, String usertype, String username,
			Integer uid, Date logtime, String ip, String remark, String examName) {
		super();
		this.logtype = logtype;
		this.usertype = usertype;
		this.username = username;
		this.uid = uid;
		this.logtime = logtime;
		this.ip = ip;
		this.remark = remark;
		this.setExamName(examName);
	}

	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the logtype
	 */
	public String getLogtype() {
		return logtype;
	}

	/**
	 * @param logtype
	 *            the logtype to set
	 */
	public void setLogtype(String logtype) {
		this.logtype = logtype;
	}

	/**
	 * @return the usertype
	 */
	public String getUsertype() {
		return usertype;
	}

	/**
	 * @param usertype
	 *            the usertype to set
	 */
	public void setUsertype(String usertype) {
		this.usertype = usertype;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

	/**
	 * @param username
	 *            the username to set
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/**
	 * @return the uid
	 */
	public Integer getUid() {
		return uid;
	}

	/**
	 * @param uid
	 *            the uid to set
	 */
	public void setUid(Integer uid) {
		this.uid = uid;
	}

	/**
	 * @return the logtime
	 */
	public Date getLogtime() {
		return logtime;
	}

	/**
	 * @param logtime
	 *            the logtime to set
	 */
	public void setLogtime(Date logtime) {
		this.logtime = logtime;
	}

	/**
	 * @return the ip
	 */
	public String getIp() {
		return ip;
	}

	/**
	 * @param ip
	 *            the ip to set
	 */
	public void setIp(String ip) {
		this.ip = ip;
	}

	/**
	 * @return the remark
	 */
	public String getRemark() {
		return remark;
	}

	/**
	 * @param remark
	 *            the remark to set
	 */
	public void setRemark(String remark) {
		this.remark = remark;
	}

	/**
	 * @return the examName
	 */
	public String getExamName() {
		return examName;
	}

	/**
	 * @param examName
	 *            the examName to set
	 */
	public void setExamName(String examName) {
		this.examName = examName;
	}

}
